package com.day0426;/*
 * @创建者：黄苟苟
 * @创建时间：2021/4/26   10:06
 * @Description描述
 **/

import com.day0426.sys.ControlSys;
import com.day0426.user.Admin;

public class MainTest {
    public static void main(String[] args) {
        Admin admin=new Admin("Jea");
        ControlSys controlSys=new ControlSys();
        System.out.println("门禁测试");
        System.out.println("***********************************");
        while (true){
            admin.work(controlSys);
            controlSys.work();
        }

    }
}
